https://handbookgermany.de/en/retiring-in-germany#faq_1270
How is the amount of my pension calculated?